package com.crane.oss.school.bean.request.student;


import java.io.Serializable;
import java.util.Date;
import java.util.List;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;


/**
 * @author zhenxing.pi
 * @email ccsu123456@qq.com
 * @date 2022年03月26日 14时24分54秒
 */
@ApiModel(description = "编辑学生参数")

@Getter
@Setter
@ToString

public class UpdateStudentReq implements Serializable {

	private static final long serialVersionUID = 1838099001899230925L;

	@ApiModelProperty(value = "学生id", name = "studentId")
    @NotNull(message = "studentId不能为空")
    private Long studentId;

    @ApiModelProperty(value = "学校id", name = "partyId", hidden = true)
    private Long partyId;

    @ApiModelProperty(value = "名字", name = "name")
    @Size(max = 10, message = "名字长度超长")
    private String name;

    @ApiModelProperty(value = "编号", name = "number")
    private Integer number;

    @ApiModelProperty(value = "学号", name = "sn")
    @Size(max = 10, message = "学号长度超长")
    private String sn;

    @ApiModelProperty(value = "性别 0男  1女", name = "sex")
    private Integer sex;

    @ApiModelProperty(value = "年龄", name = "age")
    private Integer age;

    @ApiModelProperty(value = "出生日期", name = "birthday")
    private String birthday;

    @ApiModelProperty(value = "身高 单位 cm", name = "height")
    private Integer height;

    @ApiModelProperty(value = "体重 单位kg", name = "weight")
    private Integer weight;
    
    @ApiModelProperty(value = "需解除关联家长id", name = "unbindUserIdList")
    List<Long> unbindUserIdList;
    
    @ApiModelProperty(value = "系统用户id", name = "updateUserId", hidden = true)
    private Long updateUserId;

}
